Skip to content

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Feb 20, 2023

Small PR to try to document symfony/monolog-bundle#446
I've came across and did not find any doc entry, for me this page is legit

@GromNaN allow me to ping you here and asking you some feedback

thx!

@GromNaN
Copy link
Member

GromNaN commented Feb 21, 2023

This will work only if the env var is used in monolog configuration. I would not mention this feature like this in the documentation, because we can do this kind of runtime configuration with almost any env var.

monolog:
    handlers:
        main:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: "%env(LOG_LEVEL)%"

@94noni
Copy link
Contributor Author

94noni commented Feb 21, 2023

@GromNaN oki lets close then, thx for answering

@94noni 94noni closed this Feb 21, 2023
@94noni 94noni deleted the patch-11 branch February 21, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants